<script setup lang="ts">
import { onMounted } from "vue";

onMounted(() => {
  const loadingDOM = document.querySelector('.loading-container') as Node;
  const appDOM = loadingDOM?.parentNode
  appDOM?.removeChild(loadingDOM)
})

</script>

<template>
  <n-message-provider>
    <Message />
    <router-view />
  </n-message-provider>

</template>
<style lang="less">
@import "styles/index.less";
</style>
